package cn.iocoder.yudao.module.course.content.convert.coursecontent;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.course.content.controller.admin.coursecontent.vo.*;
import cn.iocoder.yudao.module.course.content.dal.dataobject.coursecontent.CourseContentDO;

/**
 * 课时内容管理 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface CourseContentConvert {

    CourseContentConvert INSTANCE = Mappers.getMapper(CourseContentConvert.class);

    CourseContentDO convert(CourseContentCreateReqVO bean);

    CourseContentDO convert(CourseContentUpdateReqVO bean);

    CourseContentRespVO convert(CourseContentDO bean);

    List<CourseContentRespVO> convertList(List<CourseContentDO> list);

    PageResult<CourseContentRespVO> convertPage(PageResult<CourseContentDO> page);

    List<CourseContentExcelVO> convertList02(List<CourseContentDO> list);

}
